﻿:root {
    --iges-light-blue: #adc2e6;
    --iges-blue: #233870;
    --iges-dark-blue: #162855;
    --iges-light-green: #eceee3;
    --iges-green: #d1d8ba;
    --iges-dark-green: #abb880;
    --iges-light-grey: #c4c4c4;
    --iges-grey: #878787;
    --iges-black: #000000;
    --iges-bg: #f5f5f5;
}


::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--iges-light-blue);
    border-radius: 8px; /* #ffffff;*/
}

::-webkit-scrollbar:hover {
    background-color: #29578E;
}

::-webkit-scrollbar-track {
    background-color: white;
    border-radius: 8px;
    box-shadow: #f0f0f0 7px 10px 12px;
}

html, body {
    font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
    font-size:17px;
    background-color: var(--iges-bg);
}

h1 {
    font-size: 2.25rem;
}
h1, h2, h3, h4, h5, h6 {
    color: #233870;
}

div[required=true]::before {
    content: '* ';
    color: red;
    margin-left: -0.5em;
}

h1[required=true]::before {
    content: '* ';
    color: red;
    margin-left: -0.5em;
}

h2[required=true]::before {
    content: '* ';
    color: red;
    margin-left: -0.5em;
}

h3[required=true]::before {
    content: '* ';
    color: red;
    margin-left: -0.5em;
}

.input-group-text {
    min-width: 120px;
}

.IQ-impressum
th, td {
    border-bottom: 1px solid #ddd;
    padding: 0.5rem;
}

td .IQ-question {
    width: 100%
}

thead {
    width: 100%;
}

tr {
    width: 100%;
}

.IQ-striped:nth-child(odd) {
    background-color: var(--iges-light-green);
}

.IQ-striped:nth-child(even) {
    /*background-color: var(--iges-green);*/
    background-color:white;
}

.IQ-footer {
    display: flex;
    flex-flow: wrap;
    justify-content: space-around;
    margin: 0px;
    background-color: var(--iges-green);
}

.IQ-footer > a, .btn-link {
    color: black;
}

.IQ-questionnaire {
    background-color: var(--iges-light-green);
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.IQ-questionnaire-scroll {
    background-color: var(--iges-light-green);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.IQ-chapter {
    background-color: var(--iges-green);
    border-radius: 5px;
    height: 100%;
    max-height: 100%;
    overflow: auto;
}

.IQ-page {
    padding: 0.5em;
}

.IQ-chapter > .IQ-title {
    text-align: center;
    font-size: 1.3em;
}

.IQ-question-group {
    background-color: white;
    border-radius: 5px;
    margin-top: 0.5em;
    padding-bottom: 1rem;
}

    .IQ-question-group h1 {
        font-size: 1.5rem;
    }

    .IQ-question-group h2 {
        font-size: 1.4rem;
    }

    .IQ-question-group h3 {
        font-size: 1.3rem;
    }

    .IQ-question-group h4, h5, h6 {
        font-size: 1.125rem;
    }

.IQ-title {
    background-color: white;
    display: block;
    padding: 1rem;
    border-radius: 5px;
    margin: 3px;
    overflow: hidden;
}

    .IQ-title::after {
        display: block;
        content: '';
        background: linear-gradient(to right, transparent, var(--iges-green), transparent);
        position: relative;
        margin-top: 0.5em;
        width: 100%;
        height: 3px;
    }

    .IQ-title[required=true]::before {
        content: '* ';
        color: red;
        margin-left: -0.5em;
    }


.IQ-question-container {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

    .IQ-question-container .IQ-question {
        margin-bottom: 3px;
    }

/*    .IQ-question-container h1 {
        font-size: 1.75rem;
    }

    .IQ-question-container h2 {
        font-size: 1.5rem;
    }

    .IQ-question-container h3 {
        font-size: 1.25rem;
    }

    .IQ-question-container h4, h5, h6 {
        font-size: 1.125rem;
    }*/

.IQ-rank-question > span {
    display:block;
    font-weight:bolder;
}

.IQ-ranking-option {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.IQ-ranking-option label {
    width: 100%;
}

.IQ-page-navigator {
    display: flex;
    justify-content: space-around;
    margin: 1em;
}

button[filter] {
    background-color: red;
}

.IQ-radio-item {
    display: inline-flex;
    width: auto !important;
}

    .IQ-radio-item[line] {
        display: flex;
    }

    .IQ-radio-item input[type=radio] {
        margin: auto;
        margin-right: 10px;
        margin-left: 15px;
        padding-right: 10px;
        padding-left: 15px;
    }

    .IQ-radio-item input[type=checkbox] {
        margin: auto;
        margin-right: 10px;
        margin-left: 15px;
        padding-right: 10px;
        padding-left: 15px;
    }

    .IQ-radio-item .IQ-question {
        margin-left: 40px;
    }

.IQ-right {
    text-align: end;
    margin: auto;
    margin-right: 0.5em;
    line-height: 1em;
}

.dx-blazor-tagbox {
    background-color: var(--iges-light-green);
}

.IQ-required {
}

    .IQ-required::before {
        content: '* ';
        color: red;
        margin-left: -0.5em;
    }



.IQ-timerange {
    text-align: center;
    margin: 1em;
}



.IQ-print .IQ-questionnaire {
    height: 100%;
    overflow: initial !important;
    float: none;
}

.IQ-print .IQ-chapter {
    margin-bottom: 1rem;
}

.IQ-print .IQ-page {
    margin-top: 0.5rem;
}

.IQ-file-input {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

    .IQ-file-input input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

@media (max-width : 980px) {
    html, body {
        height: 100%;
        overflow: initial !important;
    }

    .IQ-questionnaire {
        height: 100%;
        padding: 0;
    }
}


.IQ-spinner {
    height: 10%;
    width: 10%;
    animation: rotate 2s linear infinite;
    transform-origin: center center;
    position: absolute;
    top: 5%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.IQ-spinner-path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
    stroke: #ddd;
}
